home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3frbase.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_FRBASE_H = 1;
- include("oops/r3root.js")
- include("oops/r3color.js")
-
-
- var R3CLID_FRBASE = 754;
-
-
-
-
- // Description: Render a defined scene
- // Virtual method
-
- R3FRM_RENDER = 754000;
-
- function mR3FRM_RENDER() {
- DoA(this.r3obj, 754000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Cancel rendering. This method is called from asynchronous thread.
- // Virtual method
-
- R3FRM_CANCEL = 754001;
-
- function mR3FRM_CANCEL() {
- DoA(this.r3obj, 754001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Insert output object to renderers output queue. Output objects are responsible for moving data
- // generated by rendering engine to actual output device (window, file, frame buffer etc.). There can
- // be any number of output objects per rendering engine so it is possible, for example,
- // to render simultaneously to a file and a window.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded.
- // p3: Object, output object to be inserted
-
- R3FRM_REGISTEROUTPUT = 754002;
-
- function mR3FRM_REGISTEROUTPUT(p3) {
- return DoA(this.r3obj, 754002, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Remove given output object
- // Virtual method
- // p3: Object, output object to be removed.
-
- R3FRM_UNREGISTEROUTPUT = 754003;
-
- function mR3FRM_UNREGISTEROUTPUT(p3) {
- DoA(this.r3obj, 754003, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Begin world definition. World is hierarchical tree consisting of * geometric primitives, light sources
- // & mapping objects.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded.
-
- R3FRM_BEGINWORLD = 754004;
-
- function mR3FRM_BEGINWORLD() {
- return DoA(this.r3obj, 754004, 0, R3TID_INTEGER, 0);
- }
-
- // Description: End world definition. All geometric primitives, material and effect mapping objects and lightsources are
- // must be defined between BEGINWORLD and ENDWORLD.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded. FALSE may indicate not enough memory
-
- R3FRM_ENDWORLD = 754005;
-
- function mR3FRM_ENDWORLD() {
- return DoA(this.r3obj, 754005, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Begin level definition. Level is an entity which may consists of geometric objects, other
- // levels, material definitions etc. For example, a level called 'wooden_sphere' consists of two sub objects:
- // a sphere geometry and 'wood' material map object.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded.
- // p1: Integer, class id of the level object to be created.
- // p3: Tag[], attributes for the level object to be created.
-
- R3FRM_BEGINLEVEL = 754006;
-
- function mR3FRM_BEGINLEVEL(p1, p3) {
- return Do2(this.r3obj, 754006, p1, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: End level definition.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded.
- // p3: Tag[]
-
- R3FRM_ENDLEVEL = 754007;
-
- function mR3FRM_ENDLEVEL(p3) {
- return Do(this.r3obj, 754007, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Begin surface definition.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded
- // p1: Integer, class id of the surface to be defined.
-
- R3FRM_BEGINSURFACE = 754008;
-
- function mR3FRM_BEGINSURFACE(p1) {
- return DoA2(this.r3obj, 754008, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: End surface definition. Surface is a geometric object which can, for example, solve intersection
- // point with given light ray.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded.
- // p3: Tag[]
-
- R3FRM_ENDSURFACE = 754009;
-
- function mR3FRM_ENDSURFACE(p3) {
- return Do(this.r3obj, 754009, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Begin volume definition. Volumes are used for defining solids. These objects can, for example,
- // check whether or not given point is inside or outside of the volume. These objects
- // allow 'rendering time' boolean operations.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded
- // p1: Integer, class id of the volume to be created
- // p3: Tag[], attributes for the volume to be defined.
-
- R3FRM_BEGINVOLUME = 754010;
-
- function mR3FRM_BEGINVOLUME(p1, p3) {
- return Do2(this.r3obj, 754010, p1, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: End volume definition.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded
- // p3: Tag[]
-
- R3FRM_ENDVOLUME = 754011;
-
- function mR3FRM_ENDVOLUME(p3) {
- return Do(this.r3obj, 754011, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Virtual method
-
- R3FRM_BEGINLIBRARY = 754018;
-
- function mR3FRM_BEGINLIBRARY() {
- DoA(this.r3obj, 754018, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_ENDLIBRARY = 754019;
-
- function mR3FRM_ENDLIBRARY() {
- DoA(this.r3obj, 754019, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_BEGINLIBOBJECT = 754020;
-
- function mR3FRM_BEGINLIBOBJECT() {
- DoA(this.r3obj, 754020, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_ENDLIBOBJECT = 754021;
-
- function mR3FRM_ENDLIBOBJECT() {
- DoA(this.r3obj, 754021, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_BEGINTRANSFORM = 754022;
-
- function mR3FRM_BEGINTRANSFORM() {
- DoA(this.r3obj, 754022, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_CREATECOMPOUND = 754025;
-
- function mR3FRM_CREATECOMPOUND() {
- DoA(this.r3obj, 754025, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Resets parameter stacks which are used during scene creation. * Call this if error occurs
- // during BEGIN-END scene creation ( or always just in case) before * new scene definition.
- // Virtual method
-
- R3FRM_RESET = 754026;
-
- function mR3FRM_RESET() {
- DoA(this.r3obj, 754026, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_FINDHIT = 754028;
-
- function mR3FRM_FINDHIT() {
- DoA(this.r3obj, 754028, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Optimizes the render enguine data for hit tests. This makes sense if lots of *
- // hit tests will be made.
- // Virtual method
- // p3: Boolean, if TRUE scene will be optimized for R3FRM_EVALHITALL, R3FRM_EVALHITILLUMINATION * etc. methods which evaluate more
- // than just surface properties.
-
- R3FRM_OPTIMIZEHIT = 754030;
-
- function mR3FRM_OPTIMIZEHIT(p3) {
- DoA(this.r3obj, 754030, p3, R3TID_BOOLEAN, 0);
- }
-
- // Virtual method
-
- R3FRM_OPTIMIZEHITSOURCE = 754031;
-
- function mR3FRM_OPTIMIZEHITSOURCE() {
- DoA(this.r3obj, 754031, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_SETEVALOBJ = 754036;
-
- function mR3FRM_SETEVALOBJ() {
- DoA(this.r3obj, 754036, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Evaluates all surface attributes and materials. FINDINSIDE, FINDIHIT or SETEVALOBJ * etc. methods must be
- // used prior to this method to define what to evaluate.
- // Virtual method
-
- R3FRM_EVALUATE = 754037;
-
- function mR3FRM_EVALUATE() {
- DoA(this.r3obj, 754037, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Evaluates material system similar to R3FRM_EVALUATE, * except that channels are not initalized. Used internally.
- // Virtual method
-
- R3FRM_EVALPARAMCALLBACK = 754038;
-
- function mR3FRM_EVALPARAMCALLBACK() {
- DoA(this.r3obj, 754038, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRCM_REGISTERRENDERSYSTEM = 754042;
-
- function mR3FRCM_REGISTERRENDERSYSTEM() {
- DoA(this.r3obj, 754042, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRCM_REGISTERLIBRARY = 754043;
-
- function mR3FRCM_REGISTERLIBRARY() {
- DoA(this.r3obj, 754043, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_REGISTEROUTPUTCHANNEL = 754044;
-
- function mR3FRM_REGISTEROUTPUTCHANNEL() {
- DoA(this.r3obj, 754044, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Begin 'Output' object definition. The rendering engine will * create a output object and
- // add it to the list of objects to which the rendered * data is sent.
- // Two-level hierarchy is supported in the sense that R3FRM_BEGINOUTPUT * inside R3FRM_BEGINOUTPUT-R3FRM_ENDOUTPUT can be used
- // to create an output setting object * which will be inserted to the parent output
- // object.
- // Virtual method
- // Returns: Boolean, TRUE if succeeded.
- // p1: Integer, class id of the object to be created.
- // p3: Tag[], attributes for the object to be created.
-
- R3FRM_BEGINOUTPUT = 754045;
-
- function mR3FRM_BEGINOUTPUT(p1, p3) {
- return Do2(this.r3obj, 754045, p1, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Virtual method
-
- R3FRM_POSTPROCESS = 754047;
-
- function mR3FRM_POSTPROCESS() {
- DoA(this.r3obj, 754047, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_CLEAROUTPUT = 754048;
-
- function mR3FRM_CLEAROUTPUT() {
- DoA(this.r3obj, 754048, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Activates render engine for use (allocates system resources etc.) * Call after the render engine
- // config has been defined but before any other * usage of rendering engine.
- // Virtual method
- // p3: Integer, unique identifier that specifies rendering of one image
-
- R3FRM_BEGINALL = 754049;
-
- function mR3FRM_BEGINALL(p3) {
- DoA(this.r3obj, 754049, p3, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_ENDALL = 754050;
-
- function mR3FRM_ENDALL() {
- DoA(this.r3obj, 754050, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_BEGINTRIMLEVEL = 754051;
-
- function mR3FRM_BEGINTRIMLEVEL() {
- DoA(this.r3obj, 754051, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Quick method for evaluating only surface normal and native UV coords at hit point *
- // found by FRM_FINDHIT or R3FRM_FINDCAMERAHIT methods.
- // Virtual method
- // p1: r3Vect, native UV coord evaluation result is stored to this location
- // p3: r3Vect, Surface normal evaluation result is stored to this location
-
- R3FRM_EVALHITGEOMETRY = 754053;
-
- function mR3FRM_EVALHITGEOMETRY(p1, p3) {
- DoA2(this.r3obj, 754053, p1, R3TID_VECTOR, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Virtual method
-
- R3FRM_EVALUATEBYNAME = 754054;
-
- function mR3FRM_EVALUATEBYNAME() {
- DoA(this.r3obj, 754054, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Optimizes render engine for camera ray hits, which is fastest hit test. Proper camera *
- // space and image/box coordinates should be defined before calling this.
- // Virtual method
-
- R3FRM_OPTIMIZEFORCAMERAHIT = 754055;
-
- function mR3FRM_OPTIMIZEFORCAMERAHIT() {
- DoA(this.r3obj, 754055, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Finds ray hit from current camera position. R3FRM_OPTIMIZEFORCAMERAHIT must be called * before using this
- // method.
- // Virtual method
- // p1: r3Vect, point defining hit direction
- // p3: r3Vect, result position. * NOTE: Camera hit optimizations transform surfaces. Therefore, channels that are evaluated *
- // later using R3FRM_EVALUATE may not contain geometrical data, because the modeller and render engine *
- // spaces may not be the same. Color, material space coords etc.transformation invariant data may be
- // safely examined.
-
- R3FRM_FINDCAMERAHIT = 754056;
-
- function mR3FRM_FINDCAMERAHIT(p1, p3) {
- DoA2(this.r3obj, 754056, p1, R3TID_VECTOR, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: Clear any previous cancel requests at the beginning of rendering
- // Virtual method
-
- R3FRM_CLEARCANCEL = 754057;
-
- function mR3FRM_CLEARCANCEL() {
- DoA(this.r3obj, 754057, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Deallocates all resources. May be called after rendering to * free the current scene description
- // Virtual method
-
- R3FRM_FREERESOURCES = 754058;
-
- function mR3FRM_FREERESOURCES() {
- DoA(this.r3obj, 754058, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_GETEVALOBJ = 754059;
-
- function mR3FRM_GETEVALOBJ() {
- DoA(this.r3obj, 754059, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_EVALHITALL = 754060;
-
- function mR3FRM_EVALHITALL() {
- DoA(this.r3obj, 754060, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Forces texture relinking at next render * (even if the library objects have not changed)
- // Virtual method
-
- R3FRM_RELINKTEXTURES = 754061;
-
- function mR3FRM_RELINKTEXTURES() {
- DoA(this.r3obj, 754061, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Set texture paths
- // Virtual method
- // p3: String, paths separated by ';'.
-
- R3FRM_SETTEXTUREPATHS = 754062;
-
- function mR3FRM_SETTEXTUREPATHS(p3) {
- DoA(this.r3obj, 754062, p3, R3TID_STRING, 0);
- }
-
- // Description: Enumerates all channels that will be needed in post processing by calling SendMsgA3(callbackobj, callbackmth,
- // int storagetype, char *channelname, int channelclid)
- // Virtual method
- // p3: Integer, callback method
-
- R3FRM_ENUMPOSTCHANNELS = 754063;
-
- function mR3FRM_ENUMPOSTCHANNELS(p3) {
- DoA(this.r3obj, 754063, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Ask all library objects that use R3CLID_RIMAGE object for textures etc. to do *
- // the image search. This is used in network rendering situation to synchronize image data transfers.
- // If the texture is not found, objects do nothing - they may return failure
- // later in other * link methods.
- // Virtual method
-
- R3FRM_REFRESHIMAGES = 754064;
-
- function mR3FRM_REFRESHIMAGES() {
- DoA(this.r3obj, 754064, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Prepares and optim. handle for repeated channel evaluation
- // Virtual method
- // Returns: Object, quickeval handle
- // p1: String[], NULL terminated array of names of input channels (may also be NULL)
- // p2: Integer, clid of phase to be evaluated (only one raysample phases supported)
- // p3: String[], NULL terminated array of names of output channels
-
- R3FRM_PREPAREQUICKEVAL = 754065;
-
- function mR3FRM_PREPAREQUICKEVAL(p1, p2, p3) {
- return DoA3(this.r3obj, 754065, p1, R3TID_STRING, R3TNF_ARRAY, p2, R3TID_INTEGER, 0, p3, R3TID_STRING, R3TNF_ARRAY);
- }
-
- // Description: Evaluates channels specified in R3FRM_PREPAREQUICKEVAL
- // Virtual method
- // p3: Object, quikeval handle from R3FRM_PREPAREQUICKEVAL
-
- R3FRM_QUICKEVAL = 754066;
-
- function mR3FRM_QUICKEVAL(p3) {
- DoA(this.r3obj, 754066, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Deallocates quickeval handle
- // Virtual method
- // p3: Object, quikeval handle from R3FRM_PREPAREQUICKEVAL
-
- R3FRM_ENDQUICKEVAL = 754067;
-
- function mR3FRM_ENDQUICKEVAL(p3) {
- DoA(this.r3obj, 754067, p3, R3TID_OBJECT, 0);
- }
-
- // Virtual method
-
- R3FRM_EVALHITQUICK = 754068;
-
- function mR3FRM_EVALHITQUICK() {
- DoA(this.r3obj, 754068, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Evaluates all surface attributes and materials * FINDIHIT method must be used prior to this
- // method to define where to evaluate.
- // Virtual method
- // p1: Boolean, if TRUE evaluation side of surface is along normal (usually interior)
- // p3: Object, handle from R3FRM_PREPAREQUICKEVAL,
-
- R3FRM_EVALHITALLQUICK = 754069;
-
- function mR3FRM_EVALHITALLQUICK(p1, p3) {
- DoA2(this.r3obj, 754069, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Evaluates all surface attributes and materials and diffuse surface illumination. * FINDIHIT method must be
- // used prior to this method to define where to evaluate.
- // Virtual method
- // p1: Boolean, if TRUE evaluation side of surface is along normal (usually interior)
- // p3: Object, handle from R3FRM_PREPAREQUICKEVAL,
-
- R3FRM_EVALHITILLUMINATION = 754070;
-
- function mR3FRM_EVALHITILLUMINATION(p1, p3) {
- DoA2(this.r3obj, 754070, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Evaluates all surface attributes and materials and indirect diffuse surface illumination. * FINDIHIT method must
- // be used prior to this method to define where to evaluate.
- // Virtual method
- // p1: Boolean, if TRUE evaluation side of surface is along normal (usually interior)
- // p3: Object, handle from R3FRM_PREPAREQUICKEVAL,
-
- R3FRM_EVALHITINDIRECTILLUMIN = 754071;
-
- function mR3FRM_EVALHITINDIRECTILLUMIN(p1, p3) {
- DoA2(this.r3obj, 754071, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: computes caustics for current scene. Appropriate R3CLID_RMPSIGNALTRAP objects * must be hooked into the scene
- // to trap caustics rays
- // Virtual method
-
- R3FRM_RENDERCAUSTICS = 754072;
-
- function mR3FRM_RENDERCAUSTICS() {
- DoA(this.r3obj, 754072, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Collects R3CAUSTICSMAP nodes (see typedefine below) to a given list * Caller must deallocate nodes
- // including name strings and image memory pools
- // Virtual method
- // p3: r3List, pointer to initialized list
-
- R3FRM_COLLECTCAUSTICSMAPS = 754073;
-
- function mR3FRM_COLLECTCAUSTICSMAPS(p3) {
- DoA(this.r3obj, 754073, p3, R3TID_LIST, 0);
- }
-
- // Virtual method
-
- R3FRM_CAUSTICSCALLBACK = 754074;
-
- function mR3FRM_CAUSTICSCALLBACK() {
- DoA(this.r3obj, 754074, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Cleanup method. A given temp file should be deleted (and flushed away from cache)
- // Virtual method
- // p1: Boolean, if TRUE file is image and cache should be flushed too
- // p3: String, name of file.
-
- R3FRM_REMOVETEMPFILE = 754075;
-
- function mR3FRM_REMOVETEMPFILE(p1, p3) {
- DoA2(this.r3obj, 754075, p1, R3TID_BOOLEAN, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: verify that all renderers are as new as * client
- // Virtual method
- // p1: Integer, version number
- // p2: Integer, -
- // p3: Integer, revision
-
- R3FRM_CHECKVERSION = 754076;
-
- function mR3FRM_CHECKVERSION(p1, p2, p3) {
- DoA3(this.r3obj, 754076, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Virtual method
- // Returns: r3List
- // p3: Integer, same as in R3FRM_BEGINLIBRARY
-
- R3FRM_FINDLIBRARY = 754077;
-
- function mR3FRM_FINDLIBRARY(p3) {
- return DoA(this.r3obj, 754077, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Defines a set of library object class specific standard tags.
- // Virtual method
- // Returns: Boolean, true if succeeded
- // p1: Integer, base class for objects. All library objects derived from this class * will get the
- // tags (by a R3RM_SET method) imediately after their creation.
- // p3: Tag[], the tags.
-
- R3FRM_INSTALLCLASSTAG = 754078;
-
- function mR3FRM_INSTALLCLASSTAG(p1, p3) {
- return Do2(this.r3obj, 754078, p1, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Removes all installed class specific tags.
- // Virtual method
-
- R3FRM_CLEARCLASSTAGS = 754079;
-
- function mR3FRM_CLEARCLASSTAGS() {
- DoA(this.r3obj, 754079, 0, R3TID_INTEGER, 0);
- }
-
- // Virtual method
-
- R3FRM_EVALHITBYNAME = 754080;
-
- function mR3FRM_EVALHITBYNAME() {
- DoA(this.r3obj, 754080, 0, R3TID_INTEGER, 0);
- }
-
- // Description: registers a callback hook which is called frequently during rendering.
- // Virtual method
- // Returns: Boolean, true if succeeded
- // p2: Integer, callbackj method
- // p3: Object, optional context that is passed as p3 in the callback
-
- R3FRM_REGISTEROUTPUTCALLBACK = 754081;
-
- function mR3FRM_REGISTEROUTPUTCALLBACK(p2, p3) {
- return DoA3(this.r3obj, 754081, 0, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: unregisters a callback hook
- // Virtual method
- // Returns: Boolean, true if found
- // p2: Integer, callbackj method
- // p3: Object, optional context that is passed as p3 in the callback
-
- R3FRM_UNREGISTEROUTPUTCALLBA = 754082;
-
- function mR3FRM_UNREGISTEROUTPUTCALLBA(p2, p3) {
- return DoA3(this.r3obj, 754082, 0, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: allocates and stores a vector array of render space coordinate data. * Array will
- // be automatically transformed and deallocated with other geometry data. * Cannot be called over network.
- // Virtual method
- // Returns: r3Vect, allocated array of possibly transformed points
- // p1: Integer, number of vertices
- // p3: r3Vect, points to be stored
-
- R3FRM_POINTARRAY = 754083;
-
- function mR3FRM_POINTARRAY(p1, p3) {
- return DoA2(this.r3obj, 754083, p1, R3TID_INTEGER, 0, p3, R3TID_VECTOR, 0);
- }
-
- var R3RENDER_FAILED = 0;
- var R3RENDER_OK = 1;
- var R3RENDER_CANCELED = 2;
-
-
-
- R3FRA_BoxX = 754501;
- function SetR3FRA_BoxX(value) {
- R3Set(this.r3obj, R3FRA_BoxX, value, R3TID_FLOAT, 0);
- }
-
- function GetR3FRA_BoxX() {
- return R3Get(this.r3obj, R3FRA_BoxX, R3TID_FLOAT, 0);
- }
-
- R3FRA_ImgX = 754505;
- function SetR3FRA_ImgX(value) {
- R3Set(this.r3obj, R3FRA_ImgX, value, R3TID_FLOAT, 0);
- }
-
- function GetR3FRA_ImgX() {
- return R3Get(this.r3obj, R3FRA_ImgX, R3TID_FLOAT, 0);
- }
-
- R3FRA_XResol = 754509;
- function SetR3FRA_XResol(value) {
- R3Set(this.r3obj, R3FRA_XResol, value, R3TID_INTEGER, 0);
- }
-
- function GetR3FRA_XResol() {
- return R3Get(this.r3obj, R3FRA_XResol, R3TID_INTEGER, 0);
- }
-
- R3FRA_CamSpace = 754511;
- function SetR3FRA_CamSpace(value) {
- R3Set(this.r3obj, R3FRA_CamSpace, value, R3TID_COORDSYS, 0);
- }
-
- function GetR3FRA_CamSpace() {
- return R3Get(this.r3obj, R3FRA_CamSpace, R3TID_COORDSYS, 0);
- }
-
- R3FRA_Projection = 754512;
- function SetR3FRA_Projection(value) {
- R3Set(this.r3obj, R3FRA_Projection, value, R3TID_INTEGER, 0);
- }
-
- function GetR3FRA_Projection() {
- return R3Get(this.r3obj, R3FRA_Projection, R3TID_INTEGER, 0);
- }
-
- R3FRA_Time = 754514;
- function SetR3FRA_Time(value) {
- R3Set(this.r3obj, R3FRA_Time, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_PeriodicTime = 754515;
- function SetR3FRA_PeriodicTime(value) {
- R3Set(this.r3obj, R3FRA_PeriodicTime, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_Recursions = 754516;
- function SetR3FRA_Recursions(value) {
- R3Set(this.r3obj, R3FRA_Recursions, value, R3TID_INTEGER, 0);
- }
-
- R3FRA_Shadows = 754517;
- function SetR3FRA_Shadows(value) {
- R3Set(this.r3obj, R3FRA_Shadows, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_LightSources = 754518;
- function SetR3FRA_LightSources(value) {
- R3Set(this.r3obj, R3FRA_LightSources, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_VolumeLighting = 754519;
- function SetR3FRA_VolumeLighting(value) {
- R3Set(this.r3obj, R3FRA_VolumeLighting, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_Brightness = 754521;
- function SetR3FRA_Brightness(value) {
- R3Set(this.r3obj, R3FRA_Brightness, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_CurrentObject = 754522;
- function GetR3FRA_CurrentObject() {
- return R3ToJS(R3Get(this.r3obj, R3FRA_CurrentObject, R3TID_OBJECT, 0));
- }
-
- R3FRA_RayTracer = 754523;
- function GetR3FRA_RayTracer() {
- return R3ToJS(R3Get(this.r3obj, R3FRA_RayTracer, R3TID_OBJECT, 0));
- }
-
- R3FRA_AADepth = 754524;
- function SetR3FRA_AADepth(value) {
- R3Set(this.r3obj, R3FRA_AADepth, value, R3TID_INTEGER, 0);
- }
-
- R3FRA_AATrigger = 754525;
- function SetR3FRA_AATrigger(value) {
- R3Set(this.r3obj, R3FRA_AATrigger, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_XStep = 754526;
- function SetR3FRA_XStep(value) {
- R3Set(this.r3obj, R3FRA_XStep, value, R3TID_INTEGER, 0);
- }
-
- R3FRA_CurrentCameraDefined = 754528;
- function SetR3FRA_CurrentCameraDefined(value) {
- R3Set(this.r3obj, R3FRA_CurrentCameraDefined, value, R3TID_INTEGER, 0);
- }
-
- function GetR3FRA_CurrentCameraDefined() {
- return R3Get(this.r3obj, R3FRA_CurrentCameraDefined, R3TID_INTEGER, 0);
- }
-
- R3FRA_RecursionTreshold = 754529;
- function SetR3FRA_RecursionTreshold(value) {
- R3Set(this.r3obj, R3FRA_RecursionTreshold, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_TracedChannels = 754530;
- function SetR3FRA_TracedChannels(value) {
- R3Set(this.r3obj, R3FRA_TracedChannels, value, R3TID_STRING, R3TNF_ARRAY);
- }
-
- R3FRA_VolumeSampling = 754533;
- function SetR3FRA_VolumeSampling(value) {
- R3Set(this.r3obj, R3FRA_VolumeSampling, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_ScanlineDataType = 754534;
- function SetR3FRA_ScanlineDataType(value) {
- R3Set(this.r3obj, R3FRA_ScanlineDataType, value, R3TID_INTEGER, 0);
- }
-
- R3FRA_InterpolateUnderSample = 754540;
- function SetR3FRA_InterpolateUnderSample(value) {
- R3Set(this.r3obj, R3FRA_InterpolateUnderSample, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_OutputList = 754541;
- function GetR3FRA_OutputList() {
- return R3Get(this.r3obj, R3FRA_OutputList, R3TID_LIST, 0);
- }
-
- R3FRA_VolumeShadows = 754542;
- function SetR3FRA_VolumeShadows(value) {
- R3Set(this.r3obj, R3FRA_VolumeShadows, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_ScanlineReflections = 754543;
- function SetR3FRA_ScanlineReflections(value) {
- R3Set(this.r3obj, R3FRA_ScanlineReflections, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_ScanlineShadows = 754544;
- function SetR3FRA_ScanlineShadows(value) {
- R3Set(this.r3obj, R3FRA_ScanlineShadows, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_SafetyArea = 754545;
- function SetR3FRA_SafetyArea(value) {
- R3Set(this.r3obj, R3FRA_SafetyArea, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3FRA_SafetyArea() {
- return R3Get(this.r3obj, R3FRA_SafetyArea, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_OutLine = 754547;
- function SetR3FRA_OutLine(value) {
- R3Set(this.r3obj, R3FRA_OutLine, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_OutLineFill = 754548;
- function SetR3FRA_OutLineFill(value) {
- R3Set(this.r3obj, R3FRA_OutLineFill, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_OutLineColor = 754549;
- function SetR3FRA_OutLineColor(value) {
- R3Set(this.r3obj, R3FRA_OutLineColor, value, R3TID_COLOR_RGB, 0);
- }
-
- R3FRA_OutLineFillColor = 754550;
- function SetR3FRA_OutLineFillColor(value) {
- R3Set(this.r3obj, R3FRA_OutLineFillColor, value, R3TID_COLOR_RGB, 0);
- }
-
- R3FRA_OutLineChannelName = 754551;
- function SetR3FRA_OutLineChannelName(value) {
- R3Set(this.r3obj, R3FRA_OutLineChannelName, value, R3TID_STRING, 0);
- }
-
- R3FRA_FocusingDistance = 754552;
- function SetR3FRA_FocusingDistance(value) {
- R3Set(this.r3obj, R3FRA_FocusingDistance, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_FStop = 754553;
- function SetR3FRA_FStop(value) {
- R3Set(this.r3obj, R3FRA_FStop, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_DepthOfField = 754554;
- function SetR3FRA_DepthOfField(value) {
- R3Set(this.r3obj, R3FRA_DepthOfField, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_InfinityDistance = 754555;
- function SetR3FRA_InfinityDistance(value) {
- R3Set(this.r3obj, R3FRA_InfinityDistance, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_DitherScale = 754556;
- function SetR3FRA_DitherScale(value) {
- R3Set(this.r3obj, R3FRA_DitherScale, value, R3TID_FLOAT, 0);
- }
-
- R3FRA_CancelOnLinkError = 754557;
- function SetR3FRA_CancelOnLinkError(value) {
- R3Set(this.r3obj, R3FRA_CancelOnLinkError, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3FRA_CancelOnLinkError() {
- return R3Get(this.r3obj, R3FRA_CancelOnLinkError, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_PostProcess = 754559;
- function SetR3FRA_PostProcess(value) {
- R3Set(this.r3obj, R3FRA_PostProcess, value, R3TID_BOOLEAN, 0);
- }
-
- R3FRA_RamUsePolicy = 754560;
- function SetR3FRA_RamUsePolicy(value) {
- R3Set(this.r3obj, R3FRA_RamUsePolicy, value, R3TID_INTEGER, 0);
- }
-
- R3FRA_PostImage = 754561;
- function SetR3FRA_PostImage(value) {
- R3Set(this.r3obj, R3FRA_PostImage, value, R3TID_STRING, 0);
- }
-
- R3FRA_CurrentPostEffect = 754562;
- function SetR3FRA_CurrentPostEffect(value) {
- R3Set(this.r3obj, R3FRA_CurrentPostEffect, value, R3TID_STRING, 0);
- }
-
- R3FRA_XScaling = 754563;
- function GetR3FRA_XScaling() {
- return R3Get(this.r3obj, R3FRA_XScaling, R3TID_FLOAT, 0);
- }
-
- R3FRA_YScaling = 754564;
- function GetR3FRA_YScaling() {
- return R3Get(this.r3obj, R3FRA_YScaling, R3TID_FLOAT, 0);
- }
-
- R3FRA_RenderMode = 754566;
- function SetR3FRA_RenderMode(value) {
- R3Set(this.r3obj, R3FRA_RenderMode, value, R3TID_INTEGER, 0);
- }
-
- var R3RENDER_NORMAL = 0;
- var R3RENDER_LIGHTING = 1;
- var R3RENDER_CAUSTICS = 2;
- var R3RENDER_GEOMETRYTESTS = 3;
- var R3FRAAOP_AVERAGE = 0;
- var R3FRAAOP_MIN = 1;
- var R3FRAAOP_MAX = 2;
- var R3FRAAF_TRIGGERAA = 1;
-
-
- function r3Frbase () {
- // Methods
- this.RENDER=mR3FRM_RENDER;
- this.CANCEL=mR3FRM_CANCEL;
- this.REGISTEROUTPUT=mR3FRM_REGISTEROUTPUT;
- this.UNREGISTEROUTPUT=mR3FRM_UNREGISTEROUTPUT;
- this.BEGINWORLD=mR3FRM_BEGINWORLD;
- this.ENDWORLD=mR3FRM_ENDWORLD;
- this.BEGINLEVEL=mR3FRM_BEGINLEVEL;
- this.ENDLEVEL=mR3FRM_ENDLEVEL;
- this.BEGINSURFACE=mR3FRM_BEGINSURFACE;
- this.ENDSURFACE=mR3FRM_ENDSURFACE;
- this.BEGINVOLUME=mR3FRM_BEGINVOLUME;
- this.ENDVOLUME=mR3FRM_ENDVOLUME;
- this.BEGINLIBRARY=mR3FRM_BEGINLIBRARY;
- this.ENDLIBRARY=mR3FRM_ENDLIBRARY;
- this.BEGINLIBOBJECT=mR3FRM_BEGINLIBOBJECT;
- this.ENDLIBOBJECT=mR3FRM_ENDLIBOBJECT;
- this.BEGINTRANSFORM=mR3FRM_BEGINTRANSFORM;
- this.CREATECOMPOUND=mR3FRM_CREATECOMPOUND;
- this.RESET=mR3FRM_RESET;
- this.FINDHIT=mR3FRM_FINDHIT;
- this.OPTIMIZEHIT=mR3FRM_OPTIMIZEHIT;
- this.OPTIMIZEHITSOURCE=mR3FRM_OPTIMIZEHITSOURCE;
- this.SETEVALOBJ=mR3FRM_SETEVALOBJ;
- this.EVALUATE=mR3FRM_EVALUATE;
- this.EVALPARAMCALLBACK=mR3FRM_EVALPARAMCALLBACK;
- this.REGISTERRENDERSYSTEM=mR3FRCM_REGISTERRENDERSYSTEM;
- this.REGISTERLIBRARY=mR3FRCM_REGISTERLIBRARY;
- this.REGISTEROUTPUTCHANNEL=mR3FRM_REGISTEROUTPUTCHANNEL;
- this.BEGINOUTPUT=mR3FRM_BEGINOUTPUT;
- this.POSTPROCESS=mR3FRM_POSTPROCESS;
- this.CLEAROUTPUT=mR3FRM_CLEAROUTPUT;
- this.BEGINALL=mR3FRM_BEGINALL;
- this.ENDALL=mR3FRM_ENDALL;
- this.BEGINTRIMLEVEL=mR3FRM_BEGINTRIMLEVEL;
- this.EVALHITGEOMETRY=mR3FRM_EVALHITGEOMETRY;
- this.EVALUATEBYNAME=mR3FRM_EVALUATEBYNAME;
- this.OPTIMIZEFORCAMERAHIT=mR3FRM_OPTIMIZEFORCAMERAHIT;
- this.FINDCAMERAHIT=mR3FRM_FINDCAMERAHIT;
- this.CLEARCANCEL=mR3FRM_CLEARCANCEL;
- this.FREERESOURCES=mR3FRM_FREERESOURCES;
- this.GETEVALOBJ=mR3FRM_GETEVALOBJ;
- this.EVALHITALL=mR3FRM_EVALHITALL;
- this.RELINKTEXTURES=mR3FRM_RELINKTEXTURES;
- this.SETTEXTUREPATHS=mR3FRM_SETTEXTUREPATHS;
- this.ENUMPOSTCHANNELS=mR3FRM_ENUMPOSTCHANNELS;
- this.REFRESHIMAGES=mR3FRM_REFRESHIMAGES;
- this.PREPAREQUICKEVAL=mR3FRM_PREPAREQUICKEVAL;
- this.QUICKEVAL=mR3FRM_QUICKEVAL;
- this.ENDQUICKEVAL=mR3FRM_ENDQUICKEVAL;
- this.EVALHITQUICK=mR3FRM_EVALHITQUICK;
- this.EVALHITALLQUICK=mR3FRM_EVALHITALLQUICK;
- this.EVALHITILLUMINATION=mR3FRM_EVALHITILLUMINATION;
- this.EVALHITINDIRECTILLUMIN=mR3FRM_EVALHITINDIRECTILLUMIN;
- this.RENDERCAUSTICS=mR3FRM_RENDERCAUSTICS;
- this.COLLECTCAUSTICSMAPS=mR3FRM_COLLECTCAUSTICSMAPS;
- this.CAUSTICSCALLBACK=mR3FRM_CAUSTICSCALLBACK;
- this.REMOVETEMPFILE=mR3FRM_REMOVETEMPFILE;
- this.CHECKVERSION=mR3FRM_CHECKVERSION;
- this.FINDLIBRARY=mR3FRM_FINDLIBRARY;
- this.INSTALLCLASSTAG=mR3FRM_INSTALLCLASSTAG;
- this.CLEARCLASSTAGS=mR3FRM_CLEARCLASSTAGS;
- this.EVALHITBYNAME=mR3FRM_EVALHITBYNAME;
- this.REGISTEROUTPUTCALLBACK=mR3FRM_REGISTEROUTPUTCALLBACK;
- this.UNREGISTEROUTPUTCALLBA=mR3FRM_UNREGISTEROUTPUTCALLBA;
- this.POINTARRAY=mR3FRM_POINTARRAY;
-
- // Attributes
- this.GetBoxX=GetR3FRA_BoxX;
- this.SetBoxX=SetR3FRA_BoxX;
- this.GetImgX=GetR3FRA_ImgX;
- this.SetImgX=SetR3FRA_ImgX;
- this.GetXResol=GetR3FRA_XResol;
- this.SetXResol=SetR3FRA_XResol;
- this.GetCamSpace=GetR3FRA_CamSpace;
- this.SetCamSpace=SetR3FRA_CamSpace;
- this.GetProjection=GetR3FRA_Projection;
- this.SetProjection=SetR3FRA_Projection;
- this.SetTime=SetR3FRA_Time;
- this.SetPeriodicTime=SetR3FRA_PeriodicTime;
- this.SetRecursions=SetR3FRA_Recursions;
- this.SetShadows=SetR3FRA_Shadows;
- this.SetLightSources=SetR3FRA_LightSources;
- this.SetVolumeLighting=SetR3FRA_VolumeLighting;
- this.SetBrightness=SetR3FRA_Brightness;
- this.GetCurrentObject=GetR3FRA_CurrentObject;
- this.GetRayTracer=GetR3FRA_RayTracer;
- this.SetAADepth=SetR3FRA_AADepth;
- this.SetAATrigger=SetR3FRA_AATrigger;
- this.SetXStep=SetR3FRA_XStep;
- this.GetCurrentCameraDefined=GetR3FRA_CurrentCameraDefined;
- this.SetCurrentCameraDefined=SetR3FRA_CurrentCameraDefined;
- this.SetRecursionTreshold=SetR3FRA_RecursionTreshold;
- this.SetTracedChannels=SetR3FRA_TracedChannels;
- this.SetVolumeSampling=SetR3FRA_VolumeSampling;
- this.SetScanlineDataType=SetR3FRA_ScanlineDataType;
- this.SetInterpolateUnderSample=SetR3FRA_InterpolateUnderSample;
- this.GetOutputList=GetR3FRA_OutputList;
- this.SetVolumeShadows=SetR3FRA_VolumeShadows;
- this.SetScanlineReflections=SetR3FRA_ScanlineReflections;
- this.SetScanlineShadows=SetR3FRA_ScanlineShadows;
- this.GetSafetyArea=GetR3FRA_SafetyArea;
- this.SetSafetyArea=SetR3FRA_SafetyArea;
- this.SetOutLine=SetR3FRA_OutLine;
- this.SetOutLineFill=SetR3FRA_OutLineFill;
- this.SetOutLineColor=SetR3FRA_OutLineColor;
- this.SetOutLineFillColor=SetR3FRA_OutLineFillColor;
- this.SetOutLineChannelName=SetR3FRA_OutLineChannelName;
- this.SetFocusingDistance=SetR3FRA_FocusingDistance;
- this.SetFStop=SetR3FRA_FStop;
- this.SetDepthOfField=SetR3FRA_DepthOfField;
- this.SetInfinityDistance=SetR3FRA_InfinityDistance;
- this.SetDitherScale=SetR3FRA_DitherScale;
- this.GetCancelOnLinkError=GetR3FRA_CancelOnLinkError;
- this.SetCancelOnLinkError=SetR3FRA_CancelOnLinkError;
- this.SetPostProcess=SetR3FRA_PostProcess;
- this.SetRamUsePolicy=SetR3FRA_RamUsePolicy;
- this.SetPostImage=SetR3FRA_PostImage;
- this.SetCurrentPostEffect=SetR3FRA_CurrentPostEffect;
- this.GetXScaling=GetR3FRA_XScaling;
- this.GetYScaling=GetR3FRA_YScaling;
- this.SetRenderMode=SetR3FRA_RenderMode;
- }
-
- // r3frbase.h_H